package com.bingxue.edu.management.report.model.resp;

import com.bingxue.edu.management.education.model.entity.Lesson;
import com.mybatisflex.annotation.RelationManyToOne;
import com.mybatisflex.annotation.TableRef;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author panbo
 * @since 2024/11/27
 */
@TableRef(Lesson.class)
@EqualsAndHashCode(callSuper = true)
@Data
public class LessonSignInTipModel extends Lesson {
    private Integer signInCount;
    private Integer totalCount;

    private String className;

    @RelationManyToOne(selfField = "leadTeacherId", targetTable = "base_employee", targetField = "id", valueField = "code")
    private String leadTeacherCode;

    @RelationManyToOne(selfField = "assistTeacherId", targetTable = "base_employee", targetField = "id", valueField = "code")
    private String assistTeacherCode;
}
